package cn.tedu.bonfire.admin.account.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("account_role")
public class UserRole implements Serializable {
    /*
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /*权限等级名称*/
    private String name;

    /*简介*/
    private String description;

    /*排序*/
    private  Integer sort;

    /*
     * 用户创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /*
     * 用户更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
